/** @type {import('next').NextConfig} */
const nextConfig = {
  typescript: {
    // !! WARN !!
    // Dangerously allow production builds to successfully complete even if
    // your project has type errors.
    // !! WARN !!
    ignoreBuildErrors: true,
  },
    rewrites() {
        return [
          {
            source: "/api/:path*",
            destination: "https://avia.knastu.ru/api/:path*",
          },
        ];
      },

}
module.exports = nextConfig
